/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: liangyuanzhang
 * Date: 2024-12-09
 * Time: 9:36
 */
public class TestStatic {
    public static int count = 10;

    public static void main(String[] args) {
        TestStatic testStatic1 = new TestStatic();
        testStatic1.count++;

        TestStatic testStatic2 = new TestStatic();
        testStatic2.count++;

        TestStatic testStatic3 = new TestStatic();
        testStatic3.count--;

        TestStatic.count++;

        System.out.println(TestStatic.count);
    }
}
